From: emellor@ewan Date: Tue, 20 Sep 2005 16:21:39 +0000 (+0100) Subject: Move definition of xc variable, to save confusing pylint. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16780^2~29 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bf0102c5f37eb2393d0688fefccd08b8cf220378;p=xen.git Move definition of xc variable, to save confusing pylint. Signed-off-by: Ewan Mellor --- diff --git a/tools/python/xen/xend/XendProtocol.py b/tools/python/xen/xend/XendProtocol.py index b74a26235f..503af1d38b 100644 --- a/tools/python/xen/xend/XendProtocol.py +++ b/tools/python/xen/xend/XendProtocol.py @@ -22,7 +22,7 @@ import types from encode import * import sxp -from xen.xend import XendRoot; xroot = XendRoot.instance() +from xen.xend import XendRoot DEBUG = 0 @@ -31,6 +31,10 @@ HTTP_CREATED = 201 HTTP_ACCEPTED = 202 HTTP_NO_CONTENT = 204 + +xroot = XendRoot.instance() + + class XendError(RuntimeError): """Error class for 'expected errors' when talking to xend. """